//
//  FXEmoticonPopView.swift
//  微博(Swift)
//
//  Created by V on 16/1/20.
//  Copyright © 2016年 V. All rights reserved.
//

import UIKit

class FXEmoticonPopView: UIView {
    // button
    @IBOutlet weak var popButton: FXEmoticonButton!
    // emoticon
    var emoticon: FXEmoticon? {
        didSet {
            popButton.emoticon = emoticon
        }
    }
    
    class func popView() ->FXEmoticonPopView {
        return NSBundle.mainBundle().loadNibNamed("FXEmoticonPopView", owner: nil, options: nil).last as! FXEmoticonPopView
    }
}
